<%@ page contentType="text/html; charset=utf-8"%>
<%@ include file="../../../common/include.jsp"%>
	<script language="JavaScript">   
		//修改组织结构数据
		function updOrg(orgId){
			window.location.href="updateOrganization.do?orgId="+orgId;
		}
	</script>
	
	<table width="100%">
		<tr>
			<td width="80" class="td_title">机构ID</td>
			<td class="td_title" >组织机构名称</td>
			<td class="td_title" width="120">组织机构编码</td>
			<td class="td_title" width="120">所属系统</td>
			<td class="td_title" width="120">组织结构类型</td>
			<td class="td_title" width="120">组织机构层级</td>
			<td class="td_title" width="60">操作</td>
		</tr>
		<c:forEach items="${datalist}" var="obj">
			<tr>
				<td>${obj.orgId}</td>
				<td>${obj.orgName}</td>
				<td>${obj.orgCode}</td>
				<td><w:CodeDictOut value="${obj.belongsSystem}"></w:CodeDictOut></td>
				<td><w:CodeDictOut value="${obj.orgType}"></w:CodeDictOut></td>
				<td><w:CodeDictOut value="${obj.orgLevel}"></w:CodeDictOut></td>
				<td>
					<a href="#" onclick="updOrg('${obj.orgId}')">修改</a>
				</td>
			</tr>
		</c:forEach>
	</table>
	<w:spPage spPageType="ajax" formId="form1" spPageContainerId="content1"/>